package the.world.mapper;
import org.apache.ibatis.annotations.Param;
import the.world.bean.User;

import java.util.List;

public interface UserMapper {
    User selectByUser(@Param("username") String username, @Param("password") String password);

    int register(@Param("username") String username, @Param("password") String password);

    User selectById(@Param("uid") int uid);
}